package com.atguigu.serviceedu.client;

import com.atguigu.commonutils.R;
import com.atguigu.commonutils.UcMember;
import com.atguigu.serviceedu.client.impl.UcenterFeignClient;
import com.atguigu.serviceedu.client.impl.VodFileDegradeFeignClient;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;


@FeignClient(name = "service-ucenter",fallback = UcenterFeignClient.class)
@Component
public interface UcenterClient {

    @GetMapping("/serviceucenter/member/getInfoUc/{id}")
    public UcMember getUcInfoById(@PathVariable("id") String id);

}
